import request from '@/utils/request'

export function roleCreate(data: IRole.Request.ICreate): Promise<IRole.Response.ICreate> {
  return request({
    url: 'api/role/create',
    method: 'post',
    data
  })
}
